﻿using System;

/// <summary>
/// Summary description for ProviderUpdates
/// </summary>
/// 
namespace CE.Provider
{
    public class ProviderUpdates
    {
        public ProviderUpdates()
        {
            //
            // TODO: Add constructor logic here
            //

            ClearFields();
        }

        private Int64 _updateid;
        private Int32 _cxtableid;
        private Int64 _providerrefid;
        private Int32 _updatetype;
        private Int64 _providercompanyid;
        private Int64 _refceuserid;

        public Int64 UpdateId
        {
            get { return _updateid; }
            set { _updateid = value; }
        }

        public Int32 CXTableId
        {
            get { return _cxtableid; }
            set { _cxtableid = value; }
        }

        public Int64 ProviderRefId
        {
            get { return _providerrefid; }
            set { _providerrefid = value; }
        }

        public Int32 UpdateType
        {
            get { return _updatetype; }
            set { _updatetype = value; }
        }
        
        public Int64 ProviderCompanyId
        {
            get { return _providercompanyid; }
            set { _providercompanyid = value; }
        }

        public Int64 RefCEUserID
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }


        public void ClearFields()
        {
            _updateid = 0;
            _cxtableid = 0;
            _providerrefid = 0;
            _updatetype = 0;
            _providercompanyid = 0;
            _refceuserid = 0;
        }
    }
}
